<?php
function get_profils($offset)
{
	global $bdd;
	
	$offset =(int) $offset;
	
	$reponse = $bdd->prepare('SELECT * FROM user WHERE id=:offset');
	$reponse->bindParam(':offset',$offset, PDO::PARAM_INT);
	$reponse->execute();
	
	$profils = $reponse->fetchAll();
	
	return $profils;
}
?>